package com.gict.antifraudback.service;

import com.gict.antifraudback.entity.ArticleComment;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Collection;
import java.util.List;

/**
* @author XIE
* @description 针对表【article_comment】的数据库操作Service
* @createDate 2023-11-02 15:18:53
*/
public interface ArticleCommentService extends IService<ArticleComment> {

    Integer countByArticleId(Integer id);

    /**
     * 根据父评论id获取子评论
     * @param ids
     * @return
     */
    Collection<ArticleComment> listChildrenByIds(List<Integer> ids);
}
